﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="PreViewRule.aspx.cs" Inherits="LabMS.Web.LabManage.PreViewRule" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>规章制度预览</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <script src="../js/Common.js" type="text/javascript"></script>
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->


    <script type="text/javascript" language="javascript">
        function refreshParent() 
        {   
            window.opener.location.href = window.opener.location.href;
        }
         function wincolse()
        {
            this.window.close();
        }
        function modify()
        {
            RedirectURL(window,'./AddRule.aspx?ID='+document.getElementById("IDHF").value);
        }
        function downloadfile(id)
        {
            openNewWin('../CommonPage/DownLoadFile.aspx?ID='+id +'&Flag=download');
        }
    </script>

</head>
<body class="mainBody">
    <form id="form1" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label >预览规章制度信息</label>
                </div>
            </div>
        </div>
        <div style="padding: 5px;" class="main">
            <asp:Label ID="ERRLbl" runat="server" Visible="false"></asp:Label>
            <p>
                <input type="button" id="modifybtn" runat="server" class="button" value="修改" onclick="modify()" />
                <input type="button" id="concel" runat="server" class="button" value="取消" onclick="wincolse()" />
                <asp:Button ID="DeleteBtn" CssClass="button" runat="server" Text="删除" OnClientClick="return confirm('确定删除吗？')"
                    OnClick="Delete_OnClick" />
            </p>
            <p>
                规章制度信息预览
            </p>
            <table cellpadding="4" cellspacing="0" border="0">
                <tr>
                    <td>
                        <label class="itemTitle">
                            文号：</label>
                    </td>
                    <td>
                        <asp:Label ID="CodeNumLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            标题：</label>
                    </td>
                    <td>
                        <asp:Label ID="TitleLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            副标题：</label>
                    </td>
                    <td>
                        <asp:Label ID="SubTitleLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            关键字：</label>
                    </td>
                    <td>
                        <asp:Label ID="KeyLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            发文单位：</label>
                    </td>
                    <td>
                        <asp:Label ID="OutputUnitLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            修订时间：</label>
                    </td>
                    <td>
                        <asp:Label ID="ModifyDateLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            分类：</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="RuleKindDDL" runat="server" DataTextField="Name" DataValueField="Code"
                            Enabled="false">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            录入单位：</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="InputUnitDDL" runat="server" DataValueField="ID" DataTextField="Lab_Name"
                            Enabled="false">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            内容：</label>
                    </td>
                    <td>
                        <asp:Label ID="ResourceContentLbl" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            附件：</label>
                    </td>
                    <td>
                        <label id="filehtml" runat="server"></label>
                    </td>
                </tr>
            </table>
            <asp:HiddenField ID="IDHF" runat="server" />
        </div>
    </form>

  <%--  <script type="text/javascript" src="../js/jQuery/jquery-1.3.1.js"></script>

    <script type="text/javascript" src="../js/jQuery/jquery.bgiframe.js"></script>

    <script type="text/javascript" src="../js/jQuery/jquery.json-1.3.min.js"></script>

    <script type="text/javascript" src="../js/site.js"></script>

    <script type="text/javascript">
    $(document).ready(function(){
                                 if($("#filehtml").val()!="")
                                 {
                                     $("#filelist").html($("#filehtml").val());
                                 }
                                 else
                                 {
                                     $("#filelist").html("无附件");
                                 }
    });
    </script>--%>

</body>
</html>
